import { createPinia } from "pinia";
import { createPersistedState } from "pinia-plugin-persistedstate";
/**
 * pinia的一些全局配置
 */

const store = createPinia();
store.use(
  createPersistedState({
    storage: window.localStorage,
  })
)


export default store;

export * from "./modules/auth";